<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: cy_stc_rtc_dst_format_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structcy__stc__rtc__dst__format__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">cy_stc_rtc_dst_format_t Struct Reference<div class="ingroups"><a class="el" href="group__group__rtc.html">RTC          (Real-Time Clock)</a> &raquo; <a class="el" href="group__group__rtc__data__structures.html">Data Structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<div class="textblock"><p>This is DST structure for DST feature setting. </p>
<p>Structure is combined with the fixed format and the relative format. It is used to save the DST time and date fixed or relative time format. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ad7708d0c99f466060d99f752aed5f858"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__rtc__enums.html#ga8a13335e41ba03b8cf81190e7d95b81a">cy_en_rtc_dst_format_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__rtc__dst__format__t.html#ad7708d0c99f466060d99f752aed5f858">format</a></td></tr>
<tr class="memdesc:ad7708d0c99f466060d99f752aed5f858"><td class="mdescLeft">&#160;</td><td class="mdescRight">DST format.  <a href="#ad7708d0c99f466060d99f752aed5f858">More...</a><br /></td></tr>
<tr class="separator:ad7708d0c99f466060d99f752aed5f858"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0d5b2d3c0bc06543755ea01d7fa5f38"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__rtc__dst__format__t.html#ad0d5b2d3c0bc06543755ea01d7fa5f38">hour</a></td></tr>
<tr class="memdesc:ad0d5b2d3c0bc06543755ea01d7fa5f38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Should be filled for both format types.  <a href="#ad0d5b2d3c0bc06543755ea01d7fa5f38">More...</a><br /></td></tr>
<tr class="separator:ad0d5b2d3c0bc06543755ea01d7fa5f38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5105e7c882d7a0bcea9aeb1a1ad45e30"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__rtc__dst__format__t.html#a5105e7c882d7a0bcea9aeb1a1ad45e30">dayOfMonth</a></td></tr>
<tr class="memdesc:a5105e7c882d7a0bcea9aeb1a1ad45e30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Day of Month, range[1-31].  <a href="#a5105e7c882d7a0bcea9aeb1a1ad45e30">More...</a><br /></td></tr>
<tr class="separator:a5105e7c882d7a0bcea9aeb1a1ad45e30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088fc62383ebdfdc28d33d84a3d0b33b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__rtc__dst__format__t.html#a088fc62383ebdfdc28d33d84a3d0b33b">weekOfMonth</a></td></tr>
<tr class="memdesc:a088fc62383ebdfdc28d33d84a3d0b33b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Week of month, range[1-6].  <a href="#a088fc62383ebdfdc28d33d84a3d0b33b">More...</a><br /></td></tr>
<tr class="separator:a088fc62383ebdfdc28d33d84a3d0b33b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a819394174eb5ff3759b65a8e76fef193"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__rtc__dst__format__t.html#a819394174eb5ff3759b65a8e76fef193">dayOfWeek</a></td></tr>
<tr class="memdesc:a819394174eb5ff3759b65a8e76fef193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Day of the week, this element should be filled in condition that format = CY_RTC_DST_RELATIVE.  <a href="#a819394174eb5ff3759b65a8e76fef193">More...</a><br /></td></tr>
<tr class="separator:a819394174eb5ff3759b65a8e76fef193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42a672a5914f08508771ac0da66eea69"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__rtc__dst__format__t.html#a42a672a5914f08508771ac0da66eea69">month</a></td></tr>
<tr class="memdesc:a42a672a5914f08508771ac0da66eea69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Month value, range[1-12], see <a class="el" href="group__group__rtc__month.html">Month definitions</a>.  <a href="#a42a672a5914f08508771ac0da66eea69">More...</a><br /></td></tr>
<tr class="separator:a42a672a5914f08508771ac0da66eea69"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="ad7708d0c99f466060d99f752aed5f858"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7708d0c99f466060d99f752aed5f858">&#9670;&nbsp;</a></span>format</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__rtc__enums.html#ga8a13335e41ba03b8cf81190e7d95b81a">cy_en_rtc_dst_format_t</a> cy_stc_rtc_dst_format_t::format</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DST format. </p>
<p>See /ref cy_en_rtc_dst_format_t. Based on this value other structure elements should be filled or could be ignored </p>

</div>
</div>
<a id="ad0d5b2d3c0bc06543755ea01d7fa5f38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0d5b2d3c0bc06543755ea01d7fa5f38">&#9670;&nbsp;</a></span>hour</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_rtc_dst_format_t::hour</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Should be filled for both format types. </p>
<p>Hour is always presented in 24hour format, range[0-23] </p>

</div>
</div>
<a id="a5105e7c882d7a0bcea9aeb1a1ad45e30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5105e7c882d7a0bcea9aeb1a1ad45e30">&#9670;&nbsp;</a></span>dayOfMonth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_rtc_dst_format_t::dayOfMonth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Day of Month, range[1-31]. </p>
<p>This element should be filled if format = CY_RTC_DST_FIXED. Firmware calculates this value in condition that format = CY_RTC_DST_RELATIVE is selected </p>

</div>
</div>
<a id="a088fc62383ebdfdc28d33d84a3d0b33b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a088fc62383ebdfdc28d33d84a3d0b33b">&#9670;&nbsp;</a></span>weekOfMonth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_rtc_dst_format_t::weekOfMonth</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Week of month, range[1-6]. </p>
<p>This element should be filled if format = CY_RTC_DST_RELATIVE. Firmware calculates dayOfMonth value based on weekOfMonth and dayOfWeek values </p>

</div>
</div>
<a id="a819394174eb5ff3759b65a8e76fef193"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a819394174eb5ff3759b65a8e76fef193">&#9670;&nbsp;</a></span>dayOfWeek</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_rtc_dst_format_t::dayOfWeek</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Day of the week, this element should be filled in condition that format = CY_RTC_DST_RELATIVE. </p>
<p>Range[1- 7], see <a class="el" href="group__group__rtc__day__of__the__week.html">Day of the week definitions</a>. Firmware calculates dayOfMonth value based on dayOfWeek and weekOfMonth values </p>

</div>
</div>
<a id="a42a672a5914f08508771ac0da66eea69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42a672a5914f08508771ac0da66eea69">&#9670;&nbsp;</a></span>month</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cy_stc_rtc_dst_format_t::month</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Month value, range[1-12], see <a class="el" href="group__group__rtc__month.html">Month definitions</a>. </p>
<p>This value should be filled for both format types </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
